home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- echo . Installation for D o s G o n e
- echo .--------------------------------------------------------------
- echo .NOTE: If you have an autoexec.bat file on the drive where
- echo . DosGone is being installed, it will be renamed
- echo . AUTOEXEC.OLD. DosGone will modify your existing
- echo . AUTOEXEC.BAT. If you modify it, make sure it contains a
- echo . path to the root directory. Also, the last command
- echo . should be MENU. Otherwise, DosGone will not start
- echo . automatically. If you have a file named MENU.BAT in the
- echo . root directory, it will be renamed MENU.OLD.
- echo .
- echo .
- echo .
- echo .The correct command is: INSTALL drive:
- echo .
- if "==%1" goto error
- if a==%1 goto error
- if A==%1 goto error
- if a:==%1 goto error
- if A:==%1 goto error
- if b==%1 goto error
- if B==%1 goto error
- if c==%1 goto error
- if C==%1 goto error
- if d==%1 goto error
- if D==%1 goto error
- if e==%1 goto error
- if E==%1 goto error
- if f==%1 goto error
- if F==%1 goto error
- echo .
- echo .Dos Gone will be installed on drive %1
- echo .
- echo .If this is not correct Press Ctrl-Break
- echo .
- echo .Otherwise...
- echo .
- pause
- cd %1\
- if exist %1menu.bat copy %1menu.bat %1menu.old
- if not exist %1autoexec.bat goto cont1
- copy %1autoexec.bat %1autoexec.old
- echo %1 >drive.dat
- autofix
- del drive.dat
- goto cont2
- :CONT1
- copy autoexec.dat %1autoexec.bat
- :CONT2
- copy menu2.bat %1\menu.bat
- md %1\DosGone
- cd %1\DosGone
- copy DosGone.exe %1
- copy sysuper.exe %1
- copy menu.bat %1
- copy users.dat %1
- copy MainMenu.dat %1
- copy DosGone.doc %1
- copy DosGone.reg %1
- copy readme %1
- echo .
- echo .
- echo .
- echo .Installation complete. Starting DosGone...
- echo .
- echo .To start DosGone in the future, just type MENU
- %1
- cd \
- menu
- goto end
- :error
- echo .ERROR.....
- echo .You need to specify the drive for installation
- echo .followed with a colon.
- echo . ( ie C: )
- :end